package service

import "boy-go/modules/system/vo"

type SysConfigService interface {
	GetById(configId int64) (*vo.SysConfigModel, error)
	List(req *vo.QuerySysConfigReq) (*vo.ListSysConfigRsp, error)
	Add(req *vo.AddSysConfigReq) (*vo.AddSysConfigRsp, error)
	Edit(req *vo.EditSysConfigReq) (*vo.EditSysConfigRsp, error)
	Del(configId int64) error
	BatchDel(ids []string) error
	SelectConfigByKey(configKey string) *string //根据键名查询参数配置信息
	SelectCaptchaEnabled() bool                 //获取验证码开关
}
